package com.example.goandroiddemo.view;

import android.app.Activity;
import android.os.Bundle;
import android.widget.LinearLayout;

import com.chouren.goandroid.ui.view.RotaryView;
import com.example.goandroiddemo.R;

public class RotaryViewTestActivity extends Activity {
	private LinearLayout mView;
	
	@Override
	protected void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
		setContentView(R.layout.activity_rotary_view_test);
		
		mView = (LinearLayout)findViewById(R.id.view);
		float[] humidity = new float[6];
		humidity[0] = 0.0f;
		humidity[1] = 100f;
		humidity[2] = 50f;
		humidity[3] = 60f;
		humidity[4] = 70f;
		humidity[5] = 80f;
		
		mView.addView(new RotaryView(this));
		
	}
}
